<table class="layui-table">
    <colgroup>
        <col width="150">
        <col >

        <col >
        <col >
        <col width="250">
        <col >

    </colgroup>
    <thead>
    <tr>



        <th>项目</th>
        <th>报价单号</th>
        <th>价格</th>
        <th>状态</th>
        <th>报价时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>

    <?php
    if (count($quotationlist) == 0)
        {
          echo "<tr><td colspan='6'>暂无数据</td></tr>";
        }
    ?>


    <?php for ($i = 0; $i < count($quotationlist); $i++) {?>

        <tr id="item<?echo $quotationlist[$i]['nid']?>" >
            <td><? echo $quotationlist[$i]['name']?></td>
            <td><? echo $quotationlist[$i]['quotation_sn']?></td>
            <td><? echo $quotationlist[$i]['price']?></td>
            <td><? echo $quotationlist[$i]['status'];?></td>
            <td><? echo $quotationlist[$i]['apply_date']?></td>
            <td>
                <a href="../../case/view/unit-qoutation-detail.php?case_nid=<?php echo $quotationlist[$i]['case_nid']?>&unit_nid=<?php echo $quotationlist[$i]['unit_nid']?>&now_extender=unit"
                   class=" layui-btn  layui-btn-sm" target="_blank">
                    <i class="fa fa-eye" aria-hidden="true"></i>详情
                </a>



                <a class="layui-btn  layui-btn-sm"
                   href="../../order/view/export.phpn=<?echo $quotationlist[$i]['order_sn'] ?>">
                    <i class="fa fa-file-excel-o" aria-hidden="true"></i>导出
                </a>
            </td>
        </tr>
        <?php ;}?>
    </tbody>
</table>
